//引入封装的公共的请求插件
import { POST } from '@/services/request.js'

export default {
    cartAdd(data = {})
    {
        return POST({
            url:'/cart/add',
            params:data
        })
    },
    cartIndex(data = {})
    {
        return POST({
            url:'/cart/index',
            params:data
        })
    },
    cartEdit(data = {})
    {
        return POST({
            url:'/cart/edit',
            params:data
        })
    },
    cartDel(data = {})
    {
        return POST({
            url:'/cart/del',
            params:data
        })
    }
}